﻿@using Remotion.Linq.Clauses
@model DevFramework.Entities.ComplexType.ShippingDetail

@{
    ViewBag.Title = "title";
    Layout = "../_Layout.cshtml";
}

<h4 class="page-header">@Word("Main.Shipping.ShippingDetails")</h4>

@using (Html.BeginForm())
{
    <div class="form-group">
        @Html.LabelFor(t => t.Name, @Word("Main.Shipping.ShippingDetails.UserName").ToString())
        @Html.TextBoxFor(t => t.Name, new {@class = "form-control"})
        @Html.ValidationMessageFor(t=>t.Name)
    </div>
    <div class="form-group">
        @Html.LabelFor(t => t.Country, @Word("Main.Shipping.ShippingDetails.Country").ToString())
        @Html.TextBoxFor(t => t.Country, new {@class = "form-control"})
        @Html.ValidationMessageFor(t => t.Country)
    </div>
    <div class="form-group">
        @Html.LabelFor(t => t.City, @Word("Main.Shipping.ShippingDetails.City").ToString())
        @Html.TextBoxFor(t => t.City, new {@class = "form-control"})
        @Html.ValidationMessageFor(t => t.City)
    </div>
    <div class="form-group">
        @Html.LabelFor(t => t.Address1, @Word("Main.Shipping.ShippingDetails.Address").ToString())
        @Html.TextAreaFor(t => t.Address1, new {@class = "form-control"})
        @Html.ValidationMessageFor(t => t.Address1)
    </div>
    <div class="checkbox">
        <label>
            @Html.CheckBoxFor(t => t.IsGift) @Word("Main.Shipping.ShippingDetails.IsGift")
            @Html.ValidationMessageFor(t => t.IsGift)
        </label>
    </div>
    <button type="submit" class="btn btn-primary" data-loading-text=@Word("General.Wait")>@Word("Main.Shipping.ShippingDetails.CompleteOrder")</button>
}

